﻿
@model Entidades.Seguridad.Permiso


@{
    ViewBag.Title = "Edit";

}
<link href="../../Content/themes/bootstrap.extra.table.css" rel="stylesheet" />
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@{Html.EnableClientValidation(true);}
@{Html.EnableUnobtrusiveJavaScript(true);}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Permiso Editar</legend>


        @Html.HiddenFor(model => model.IdPermiso)
        
        <div class="clearfix">
            @Html.LabelFor(model => model.IdPermiso)
            <div class="input">
                @Html.TextBoxFor(model => model.IdPermiso, new { disabled = "disabled", @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.IdPermiso)
            </div>
        </div>

        <div class="clearfix">
            @Html.LabelFor(model => model.Nombre)
            <div class="input">
                @Html.EditorFor(model => model.Nombre)
                @Html.ValidationMessageFor(model => model.Nombre)
            </div>
        </div>


		<div class="actions">
            <input type="submit" class="btn primary" value="Save" />
			@Html.ActionLink("Cancelar", "Index", null, new { @class = "btn"})
        </div>
    </fieldset>
}



